* {
    margin: 0;
    padding: 0;
}

ul,
li {
    list-style: none;
}

a {
    text-decoration: none;
}

body {
    background-color: #f6f6f6;
}

// 头部
.baseHeader {
    margin: auto;
    width: 100%;
    background-color: white;

    .wrapper {
        margin: auto;
        width: 1200px;
        height: 220px;
        top: 0;

        .logo {
            overflow: hidden;
            float: left;
            margin: 50px 0 0 20px;
            height: 75px;

            a {
                color: #333;
                text-decoration: none;

                img {
                    float: left;
                    width: 75px;
                    height: 75px;
                }

                .right {
                    float: left;
                    margin: 8px 0 0 15px;
                    text-align: center;
                    color: #43200c;

                    p {
                        font-size: 28px;
                        font-weight: 600;
                        line-height: 40px;
                    }

                    span {
                        display: inline-block;
                        font-size: 12px;
                        line-height: 17px;
                        transform: scale(0.8);
                    }

                }
            }
        }

        .wrapper-search {
            float: left;
            margin: 50px 0 0 108px;
            width: 532px;
            height: 48px;
            position: relative;

            input {
                position: absolute;
                left: 47px;
                width: calc(100%);
                font-size: 16px;
                line-height: 43px;
                color: #43200c;
                border-radius: 34px;
            }

            button {
                cursor: pointer;
                position: absolute;
                right: -45px;
                width: 124px;
                font-size: 14px;
                font-weight: 500;
                line-height: 37px;
                text-align: center;
                color: #43200c;
                margin: 3px 0;
                background-color: #fee44e;
                border-radius: 34px;
            }
        }

        .advantage {
            float: right;
            margin: 43px 86px 0 0;
            font-size: 10px;
            position: relative;

            ul {
                li {
                    float: left;
                    position: relative;
                    margin-right: 25px;
                    width: 44px;
                    height: 60px;
                    text-align: center;

                    img {
                        width: 40px;
                        height: 40px;
                    }
                }

                span {
                    position: absolute;
                    bottom: 0;
                    left: 50%;
                    font-size: 12px;
                    white-space: nowrap;
                    transform: translateX(-50%);
                }
            }

            .erl-login {
                width: 100px;
                height: 100px;
                background-color: #ff7e4b;
                border-radius: 50%;
                position: absolute;
                left: 260px;
                text-align: center;



                p {
                    position: absolute;
                    top: 37px;
                    left: 10px;

                    a {
                        font-size: 18px;
                        color: white;


                    }
                }

            }
        }

    }
}

// 导航
.nav {
    width: 100%;

    .normal {
        margin: 0 auto;
        width: 100%;
        height: 46px;
        color: #fff;
        background-color: #43240c;

        ul {
            margin: 0 auto;
            width: 1200px;
            height: 46px;

            li {
                cursor: pointer;
                float: left;
                width: 166px;
                font-size: 16px;
                font-weight: 500;
                text-align: center;
                line-height: 47px;
            }

            li:first-of-type {
                width: 220px;
                background-color: #fee44e;
            }

            .active {
                background-color: #fee44e;
                cursor: pointer;
            }
        }
    }
}

// 导航详情
.pc-view {
    margin: 0 auto;
    width: 1200px;

    .home {
        min-width: 1200px;

        .indexBanner {
            width: 1200px;
            height: 400px;
            background-color: #f6f6f6;


            // 选项卡
            .tab-show {
                float: left;
                position: relative;
                width: 220px;
                background-color: #fcf9e3;
                height: 390px;

                .classification {
                    z-index: 10;
                    position: relative;

                    ul {
                        list-style-type: none;
                        overflow: hidden;

                        li {
                            cursor: pointer;
                            margin: 0;
                            width: 100%;
                            height: 41px;
                            line-height: 41px;
                            text-align: center;
                            transition: all .3s;
                            position: relative;


                            a {
                                color: black;
                            }

                            img {
                                position: absolute;
                                left: 50px;
                                top: 10px;
                            }
                        }

                    }
                }
            }

            .active {
                background-color: white;
            }

            .tab-hidden>div {
                z-index: 10;
                position: absolute;
                left: 380px;
                width: 220px;
                background-color: white;
                height: 390px;
                display: none;
                padding: 10px 20px;

                h2 {
                    width: 100%;
                    font-size: 20px;
                    border-bottom: darkgray 1px solid;
                    padding-bottom: 10px;
                }

                span {
                    width: 50px;
                    font-size: 14px;
                    line-height: 30px;
                }
            }
        }

        .on {
            display: block !important;
        }

        // 轮播图
        .swiper {
            z-index: 2;
            width: 650px;
            height: 250px;
            background-color: blue;
            position: absolute;
            left: 390px;

            img {
                width: 100%;
                height: 100%;
            }

        }

        // 轮播图底部
        .swiper-button {
            width: 650px;
            height: 133px;
            position: absolute;
            left: 390px;
            top: 529px;
            display: flex;
            justify-content: space-between;
        }

        .commod {
            width: 320px;
            height: 133px;
            background-color: #fecfdc;
            padding: 10px 20px;
            position: relative;
            border-radius: 20px;


            img {
                position: absolute;
                bottom: 0;
                right: 0;
                width: 125px;
                height: 125px;
            }

            span {
                width: 100px;
                height: 30px;
                background-color: white;
            }

            a {
                color: pink;
            }

        }

        .coupons {
            width: 320px;
            height: 133px;
            background-color: #ffe3c6;
            padding: 10px 20px;
            border-radius: 20px;

            img {
                position: absolute;
                bottom: 0;
                right: 0;
                width: 125px;
                height: 125px;
            }

            span {
                width: 100px;
                height: 40px;
                background-color: white;
            }

            a {

                color: pink;
            }
        }

        // 轮播右边9.9包邮
        .banner-right {
            width: 250px;
            height: 250px;
            position: absolute;
            left: 1050px;
            background-color: #fff4e4;

            h1 {
                margin: 30px 10px;
                font-size: 30px;
                color: #ff925a;
                font-weight: 700;
            }

            img:nth-child(3) {
                width: 100px;
                height: 100px;
                position: absolute;
                left: 148px;
                top: 150px;

            }

            img:nth-child(4) {
                width: 250px;
                height: 150px;
                position: absolute;
                top: 250px;
                left: 0px;

            }

            img:nth-child(5) {
                width: 250px;
                height: 145px;
                position: absolute;
                top: 250px;

            }
        }


    }
}

// <!-- 商品精选 每日更新-->
.title {
    width: 1200px;
    margin: 10px auto 20px;
    font-size: 18px;
    line-height: 56px;
    color: #43240c;
    background-color: #fff;

    h3 {
        display: inline-block;
        margin-left: 52px;
        font-size: 18px;
        font-weight: 500;
    }

    p {
        display: inline-block;
        margin-left: 30px;
        font-size: 14px;
        color: #877a73;
    }
}

// 商品详情
.productList {

    margin: 0 auto;
    width: 1200px;
    background-color: #f6f6f6;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;

    .item {
        width: 285px;
        height: 350px;
        background-color: white;
        position: relative;

        img {
            width: 100%;
            height: 250px;
        }

        h2 {
            width: 100%;
            overflow: hidden;
            font-size: 14px;
            line-height: 18px;
            text-overflow: ellipsis;
            color: #877a73;
            white-space: nowrap;
            border: none;
        }

        .price {
            padding: 10px 10px;
            font-size: 30px;
            color: red;

            span {
                font-size: 18px;
            }
        }

        .saleNum {
            font-size: 16px;
            position: absolute;
            left: 90px;
            top: 320px;
        }

        .coupon {
            width: 55px;
            position: absolute;
            left: 230px;
            top: 320px;
            border: 1px solid red;
        }

    }
}

// 加载更多
.choice-more-btn {
    background-color: #f6f6f6;
    width: 1200px;
    height: 340px;
    margin: auto;
    text-align: center;
    padding-bottom: 0px;
    position: relative;

    button {
        position: absolute;
        left: 450px;
        bottom: 140px;
        width: 250px;
        height: 70px;
        background-color: #fee44e;
        font-size: 25px;
        border-radius: 50px;
        border: none;
    }
}

// 底部
footer {
    width: 100%;
    margin: auto;
    background-color: #484848;
    position: relative;

    img {
        width: 1200px;
        height: 280px;
        position: relative;
        left: 180px;
        top: 42px;
    }
}

// 回到顶部
.return-top>img {
    position: fixed;
    width: 70px;
    height: 70px;
    top: 300px;
    left: 1400px;
    // display: none;

}

.onreturn-top {
    display: block;
}